package negocio.matricula;

public class MatriculaJaCadastradaException extends Exception{
	private Matricula matricula;
	
	public MatriculaJaCadastradaException() {
		super("Matricula ja cadastrada");
	}

	public MatriculaJaCadastradaException (Matricula matricula) {
		this();
		this.matricula = matricula;
	}

	public Matricula getMatricula() {
		return matricula;
	}
}
